#ifndef WF_SETSNAPRESTRICTION_H
#define WF_SETSNAPRESTRICTION_H

#include "pf_actioninterface.h"
#include "gui_export.h"

/**
 * This action changes the current additional snap mode.
 *
 */
class GUI_EXPORT WF_SetSnapRestriction : public PF_ActionInterface {
	Q_OBJECT
public:
    WF_SetSnapRestriction(PF_Container& container,
                         PF_GraphicView& graphicView,
                         LX_Define::SnapRestriction snapRes);
    ~WF_SetSnapRestriction() {}

    virtual void init(int status=0);
    virtual void trigger();

protected:
    LX_Define::SnapRestriction snapRes;
};

#endif
